package com.example.cunion.util;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;

public class HtmlUtil {

    public String convertHtmlToPlainText(String html) {
        Document document = Jsoup.parse(html);
        Element body = document.body();
        return body.text();
    }
}
